Fixed view of Pairs and a bug in Pairs image_type submit