fix pipes no such field problem
fix return null