fixed cancel button on email controller