fix arguments condition bug