fix issue with cloudfoundry module