fixed style and moved some styles into css