bug fixes

image crop fix
sphinx string cleaning helper was failing production