fix a bug in prooduct display