removed exception which was not working