a little cleanup in the webapp model