moving style to head where it should be