Fixes indentation, syntax errors