Fixed poi_num check, calling wrong var and checking if bool, now string