Fixing plugin bugs for linux