fixed clear by making some callback magic