fixed void return bug in rmic