fix improperly commented out function