return value cleanup