fix a bunch if silly mistakes

Signed-off-by: Mattias Andrée <maandree@operamail.com>