fix filename and media link