mask added and scale unified