fixed bug saving non-contributed files