moved strip() to module