fixes #20, deleting null Object