Fetching pointers in query for improvement and hiding long msgs instead of removing