fixed nullRefference