Fixed bug in number of format args