Bug fixed for web input