fix image bug & styled register table