remove menu to fix "error: Attempt to modify read-only object"