Fixes bug on github controller with mis-named var