fix some minor bugs
simple validates
compile assests