fixed plugin activation of unpublished plugins