adds some css fixes and helper method