fix filename problems