fixed a bug when drawing guides for boostraps