Fix setInput bug and load status bug