fix undefined wallboard_mode