tried to fix polygon read in

might need to rewrite