fixed index injections, added a little styling