remove unneccessary lines in Entry constructor