fixed error; insert custom message