Fix bug. Was using @ instead of local variable.