fixed devise issue