fix for picks table issue with if statement