Store state before mustache state