Fixed bug in setting fill and removed debugging