Modifying nil bugfix