fixed bug with clear btn that I just introduced 5 min ago