Fix bug for scribble