fixes but still failing with mysql