seems that 'w" just keeps writing