remove unneccessary scope