remove unneeded custom exception.