fixing message display in view