Fixes map input to strip length header