fix setState