making derived-style behave the way it should (mostly)