fixed syntax check display to be off or right