trying to fix mysql error