fixed one little bug hinted by findbugs