small fix to argument reading