bug fix for nil class