implement clean store command