add support of multiple flag