commit by jayli bugfix for simple-mask