Variable overrides bug