adapt to BlueMix deployment