Changed string direction to object direction