fixed a problem with getting the next arg name
Authored by: spectare 2012-05-16
Parent: [r82]
Child: [r84]