switch order of mappend. Appears to work better