add debug to fix swift file resizing