Are you trying to use same instance of searchfield? Or, you may need to clone some objects instead of plainly reusing them. Just guessing...