Maggie 's exception handling and few changes in search parser