fixed argument errors