make baselog more robust