correctly handle '*/any'