Fixing an issue in the webapp model