Fixed ajax messages handling
Fixed ajax messages handling
small fixes