revert the empty string cast thing