fixes minor bug with overrides