#525 - fix error overriding file