fix sloooow drawing