Fixed bug where there are extra blank arguments. Thanks @cameff!