fix image sizing problem