clean stair and segfault