fix bug in Complex
cleanup Real formatting