fixing validation problems and precompiling assets