few more changes for mysql recovery