entities will be resetted if next is clicked
fixed clear bug