switch back to working dir after load db