fix registration errors with devise