fix for issue #10 now applies also to the 0 case