Remove unnecessary thrown error