Removed error from contructor