assets cleanup and precompile