fix metricselector component (bad module definition style