fixed crash on caption add