fixed return value variable names in procedures and facility operations