Fix scale process bug