fix for devise