Fixes unknown memory attribute