fixing Devise errors