fixed imagick detection