made method removeNullValue() private