aligned memory allocator
refactoring clear command