Fixed the issues with original plugin

Fixed the issue with original plugin. It works now.