removed the settimeout and updated plugin-json