fixed strip functions