fixing menuadapter duplication bug