fixed bug with short arguments