fix devise resource