fixes for possible uninitialised argument value