Fixing None

fixing None Type when Thourght comes None