Removed unnecessary "phantom" elements