added precompile cause can't connect to db.