ensure working on sql/mysql