fix bugs after some use in openshift