clear stack fix