fix problem math