fix bug in webpage