Small bugfix, fix compiler warning