Fixed some events (added missing absolute replacement of variables).