fixes function comments