remove unused arguments parsing code