Register repaired, wrong var name