empty file bugfixes