Fixed a minor issue where  isn't in scope