Fixing bug with going passed the last font