added dashed line for cursor