Fixed error causing Control statement