handling null in remote deployed args