FIX: issue #519 (COMPOSE and PRINT corrupt cascaded ROUTINE return type)