mysql connection fix, float fix