adjust the css process, make it in correct sequence