fix media auto title generation from file