fix image tabs problem refs closes #17