some bug fixes and a genreral clean up
asset precompile