delete duplicate const
add examples MACOSX