removed compiler warning on Mac OS X