next fix InvalidObjectException