precompile assets correctly