fix for cloudfoundry