cleaned up the assests and fixed the code for it