add error messages on invalid conn state