Fixed type in plugin