fix match thing