Controller failed on creating token fixed