fix bug - pass null remote pointer not getting null pointer