make image annotation work.