Fixes the syntax errors throughout the system