fix js crash bug
remove unsupported matches