fix a minor bug in statusline

https://github.com/WindowsAzure/azure-sdk-for-java-pr/issues/501