fix return val