Fixed bug with argument checking