fixed bug http://forge.taotesting.com/issues/3310