removed some dependencies in the image directive