adapt to bluemix