converting to proper fraction