add check for image decompression handler