Maya not erroring properly