fixed reading -> pi