fixed issue with comparing arguments