trying to fix return val from parsing