Fix sanitize errors