Bugfix with complex input on stdin