minor fixes

- db query for turns fixed
- tweaked layout