removed unnecessary compiler warning