removing inheritance from array