Fixed wrong event binding after changing prefix