corrected problem with mysql collisions