removed compiler warning