removed redundant code to check if there exists a non-null image before writing the Speaker