assets precompile and some code fix