Tried to fix devise bug