update
minor bugfix related to adding 'errorflag' to routing vector