fixed argument reading