removed 2 unneeded lines which caused compile warn