fixing stderr, stdout redirection... a little