rm unneeded scope