fix a devise setting for precompilation