fix precompile assets bug