bug fixed in devise errors