fixing bug in free draw