changed the order of plugin