some fixes in reading plugins in edit page but not finished