pipeline map is working but messed up