fixing postindex => root