fixed errors

problem where it would go to the right as soon as cmdtab was called