bug fixes to get running within the docker