fix ImageField behavior