fixed an error with the pc command