replace unused return with void