Fixed layout bug in index