fix CONST checking
add configurable mobile header