fixed viewdidload error