min scale & max scale fix