fixed JENKINS-21527 issue

https://issues.jenkins-ci.org/browse/JENKINS-21527