fixed plugin syntax so it matches PEP 8