fix error on scale-server