Fix inspections in function call

I tried to correct some inspection problems, which I found in my current project.