issue #5, access to Null pointer object fixed.