fixing plugin generation not working