support @output option