fix #454 : handle 0 and null arguments