fix recording state on startup