fixed multiple reading stuff