by dereine: Add missing parameter for db_safe()