[v6r12] fix return value

minor fix