Bug fix in online version