change unicode functions to str and commented out the ImageFields