Bug correction : rotation and imagette detection