fixed bug in redirectioncompletor
make sure error messages are actually printed out