Fixed error checking for arguments