fixed throws exception