problem with dynamic image