fixed ui when medie contains more than 2 decimals