better display handler