Fixing missing plotId bug