Remove semicolons
fix image size list creation when only one pair of dimensions is passed instead of a list