ensure styles are applied