fixed bug with missing files