fixed bug which was not clearing data list