fix indent, errors