fixed type-o bug
minor changes