fix indentation, spacing and nestings all