fixed a rounding bug for status bar