Fixed bug of gui reader

Fixed bug of gui reader