Fixing borders on index