fix for cancel button on profile edit