Fixed type in widget edit page