rebinding of handlers after reload