fix some style problems with quat library