fixed args parsing for mapred init