fixed argument grabbing