Image type fix