fixed math/output