warnings cleaning,problem with CurrentMsg