fix call to setIsApproved