fixed devise errors