Fixing buggy file