bug and args fixed.