fixed style generation