refactoring: forgot to rename tmp var

Signed-off-by: Alexander Skjolden <alex@plastboks.net>