fix bugs id layout new and old