fixed segfault in play-file and cli argument parsing