fix saving empty section