bug on clear command