Fix bug in arguments parsing.