fix some bugs

- no link when not logged in
- clamp and some other issues on firefox