fix ret && call with valP