fixed sum bugs

namely, water being null for plants and then throwing an exception