fix displaying error