fixed issue where images wouldn't save to model forms