add clean and entity exsit control
clean console