image input fix