edited advanced-plugin