started working on #620
fixed some problems with component inheritance