remove io exception throws in constructor