Fixed writable check.