tab/spaces indentations fixes and loading error