Fixed server input bug