Fixes message value for objects