fixed messenger bug
fixed delete sql bug