display axis and fix bugs