fix compile for annotation class