fix image resource path