clean up styling code