fix the order of displaying