fixed bug with abstract bases