few more error's handeling with default inputs and msg.seng text