Bug fix wrong XML semantic for building plan