avoid nil point