fix error feedback on non-integer as per #9