condensing some shit, fixing rendering problems in chrome