Fixed an undefined output within the Procedure function.