fixed minor intendation bugs