fix issues with precompiling assets