Fixed indentation and other errors