Fixed copy/pasting from system registry