get rid of compiler warning