Removing unnecessary debug check