fixed > io redirection

< redirection however is completely broken