add precompiled assets
undefined method error fix