fixed argument bug