Change isError to !isError