minor change to disallow function to improve consistency