fixed credential problem