check for null hash