fixed #60. Changed method for drawing tracks