Fixing compatibility of sensor constants