remove unused return statements