deleted useless void cast