fixing issues with missing files