some hacks to make reading from camera better