internal nodes placement alignment bug fix