edits to fix image locating