fixed the connection of getting the info about pieces