FQA-1482: Fix bugs of Gatein and calendar
temp1