fix non decimal result's printing