fix on strip_data method