cleanup of function comments