fix content saving