make plugin work with 2.x version of carew