fixed text message function by coming continue or not function