some fixes to devise views