Error rises as a result of the find when i refresh the page it shows in a flash then the error cannot read property \'find\' shows up. is there something i am not doing right?