fix stdin for fast