removed trailing plugin code