fix bug in admin image module