NullPtrException bug fix with star point system