fix the problem in case of no annotation