fix to deprecated db_placeholders