modify button search crashes