small fixes; added missed comments