fix protection for mutate