Fix: missed place where variable was written to