fix getting prog coordinates
don't print weights