fix mirrors used errors