How to remove QUERY_ALL_PACKAGES permission

How can i remove QUERY_ALL_PACKAGES permission i was add extention for it and now i have removed it from extentions and also remove all related blocks. but still i am getting this permission in my app please help me. i am using unly packageutilty for app vertion code.

Make sure it is not in the .aia file

how to remove from aia file.