fixing for devise