fixed for the changes that pinterest decided to make