fix minor compiler warning