fix check_rms and set --source default = current directory