bugfix in datetime display