fix bug: date can not be clicked