fix typo and fix good css, using joda condition