prepare for mouse message insert