fix some small issues
frontend prototype