fixing up get-component