fix smd draw