Fix bug in new web system