match master with background