Fix recent plugin - buggy api