A couple of fixes I lost last time

Signed-off-by: emanuele <emanuele45@gmail.com>
A missing string

Signed-off-by: emanuele <emanuele45@gmail.com>
I like mess up with string indexes...

Signed-off-by: emanuele <emanuele45@gmail.com>