fixed bug in _strip

Signed-off-by: Yakov Goldberg <yakov.goldberg@gmail.com>