fixed bug in procedures_callreturn
merged