fixed error on deleting data when message folder data is not set