fixed bug with inheritance
small code cleaning and color changing for imported features