fixing sql
remove dependency duplicate